package com.itheima.pojo;

import java.io.Serializable;

/**
 * 运动库
 */
public class Sport implements Serializable {

    private Integer id;//主键
    private String code;//助记码
    private String name;//名称
    private String size;//运动次数
    private String runtime;//运动时间

    public Sport() {
    }

    public Integer getId() {
        return id;
    }

    public Sport(String code, String name, String size, String runtime) {
        this.code = code;
        this.name = name;
        this.size = size;
        this.runtime = runtime;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getRuntime() {
        return runtime;
    }

    public void setRuntime(String runtime) {
        this.runtime = runtime;
    }
}
